<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Collision Checker: cpp/collision/include/collision/collision_object.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Collision Checker
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_df511e5bd85cec96854b39d5e1c27aa8.html">cpp</a></li><li class="navelem"><a class="el" href="dir_bf0f0c8865c1942e08ab5157e2c596db.html">collision</a></li><li class="navelem"><a class="el" href="dir_0695118b3b27d100933d16472a5a2e05.html">include</a></li><li class="navelem"><a class="el" href="dir_d28884e0e9991dd74831dd1628ef4f1a.html">collision</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">collision_object.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="collision__object_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef COLLISION_OBJECT_H_</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define COLLISION_OBJECT_H_</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &lt;list&gt;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &lt;sstream&gt;</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &lt;unordered_map&gt;</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="application__settings_8h.html">collision/application_settings.h</a>&quot;</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#if ENABLE_SERIALIZER</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="i__collision__object__export_8h.html">collision/i_collision_object_export.h</a>&quot;</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="collision__requests_8h.html">collision/solvers/collision_requests.h</a>&quot;</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &lt;Eigen/Dense&gt;</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="collision__object__types_8h.html">collision/collision_object_types.h</a>&quot;</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="line__segment_8h.html">collision/line_segment.h</a>&quot;</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacecollision.html">collision</a> {</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keyword">class </span>Shape;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="keyword">class </span>Point;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">class </span>RectangleAABB;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">class </span>RectangleOBB;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keyword">class </span>Sphere;</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">class </span>Triangle;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">class </span>TimeVariantCollisionObject;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keyword">class </span>CollisionObject;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="keyword">class </span>ShapeGroup;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="keyword">class </span>Polygon;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="namespacecollision.html#a07856b6b89f00ae72d825cbac1eb9e14">   38</a></span>&#160;<span class="keyword">class </span><a class="code" href="classcollision_1_1_i_collision_container.html">ICollisionContainer</a>;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keyword">typedef</span> std::shared_ptr&lt;CollisionObject&gt; <a class="code" href="namespacecollision.html#a07856b6b89f00ae72d825cbac1eb9e14">CollisionObjectPtr</a>;</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="namespacecollision.html#a405f2c04407997fea529aad88f04ad30">   41</a></span>&#160;<span class="keyword">typedef</span> std::shared_ptr&lt;const CollisionObject&gt; <a class="code" href="namespacecollision.html#a405f2c04407997fea529aad88f04ad30">CollisionObjectConstPtr</a>;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="classcollision_1_1_collision_object.html">   47</a></span>&#160;<span class="keyword">class </span><a class="code" href="classcollision_1_1_collision_object.html">CollisionObject</a> : <span class="keyword">public</span> std::enable_shared_from_this&lt;CollisionObject&gt; {</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classcollision_1_1_collision_object.html#a96352a5369914c677a8f826b68028205">   49</a></span>&#160;  <span class="keyword">virtual</span> <a class="code" href="classcollision_1_1_collision_object.html#a96352a5369914c677a8f826b68028205">~CollisionObject</a>() {}</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#if ENABLE_SERIALIZER</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;  <span class="keyword">virtual</span> <a class="code" href="classcollision_1_1serialize_1_1_i_collision_object_export.html">serialize::ICollisionObjectExport</a> *exportThis(<span class="keywordtype">void</span>)<span class="keyword"> const </span>{</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">nullptr</span>;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;  }</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;  <span class="keywordtype">int</span> <a class="code" href="namespacecollision_1_1serialize.html#aea63e6d672588912102de4dbfc13ba19">serialize</a>(std::ostream &amp;output_stream) <span class="keyword">const</span>;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;  <span class="keyword">static</span> <a class="code" href="namespacecollision.html#a405f2c04407997fea529aad88f04ad30">CollisionObjectConstPtr</a> <a class="code" href="namespacecollision_1_1serialize.html#afa68d93c7ceeaba3b3a6a32bf9917aba">deserialize</a>(std::istream &amp;output_stream);</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classcollision_1_1_collision_object.html#a2bc867e40184d64561ceac3f2276f976">   60</a></span>&#160;  <span class="keyword">virtual</span> <a class="code" href="namespacecollision.html#a450ba6ce42e02aa75e1a94fcbddae149">CollisionObjectType</a> <a class="code" href="classcollision_1_1_collision_object.html#a2bc867e40184d64561ceac3f2276f976">getCollisionObjectType</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacecollision.html#a450ba6ce42e02aa75e1a94fcbddae149a2c13e01c3185cd199ad6fd3c45e1db1f">CollisionObjectType::OBJ_TYPE_UNKNOWN</a>;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;  }</div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="classcollision_1_1_collision_object.html#a0d72d251df66cd7a7f42ec11eee1531f">   63</a></span>&#160;  <span class="keyword">virtual</span> <a class="code" href="namespacecollision.html#a6e97ae92656250cd1667b6a73100843f">CollisionObjectClass</a> <a class="code" href="classcollision_1_1_collision_object.html#a0d72d251df66cd7a7f42ec11eee1531f">getCollisionObjectClass</a>()<span class="keyword"> const </span>{</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacecollision.html#a6e97ae92656250cd1667b6a73100843fa95fe8126fb4ba3fa5d8e6514ad649e8f">CollisionObjectClass::OBJ_CLASS_UNKNOWN</a>;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;  }</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classcollision_1_1_collision_object.html#a98bb20ca531cf5018fff83603e93b597">collide</a>(</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;      <span class="keyword">const</span> <a class="code" href="classcollision_1_1_collision_object.html">CollisionObject</a> &amp;c,</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;      <span class="keyword">const</span> <a class="code" href="classcollision_1_1_collision_request.html">collision::CollisionRequest</a> &amp;req = <a class="code" href="classcollision_1_1_collision_request.html">CollisionRequest</a>()) <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classcollision_1_1_collision_object.html#a08e7481df513e04cc02ae6806ce56020">   71</a></span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classcollision_1_1_collision_object.html#a08e7481df513e04cc02ae6806ce56020">print</a>(std::ostringstream &amp;stream)<span class="keyword"> const </span>{ <span class="keywordflow">return</span>; }</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="classcollision_1_1_collision_object.html#a9bc84c4dd5f378403d31393326a0644e">   73</a></span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classcollision_1_1_collision_object.html#a9bc84c4dd5f378403d31393326a0644e">toString</a>(std::ostringstream &amp;stream)<span class="keyword"> const </span>{ <a class="code" href="classcollision_1_1_collision_object.html#a08e7481df513e04cc02ae6806ce56020">print</a>(stream); }</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classcollision_1_1_collision_object.html#a71984805dce3828e2d9e52dfa06e7b9e">BVCheck</a>(<a class="code" href="namespacecollision.html#a405f2c04407997fea529aad88f04ad30">CollisionObjectConstPtr</a> obj2) <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;  <span class="keyword">virtual</span> std::shared_ptr&lt;const collision::RectangleAABB&gt; <a class="code" href="classcollision_1_1_collision_object.html#a47f5911d90f655e29ce682f037ad5ce7">getAABB</a>() <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classcollision_1_1_collision_object.html#a525c0826bd7ef13b2fe62868d3e49d30">addParentMap</a>(</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;      std::unordered_map&lt;<span class="keyword">const</span> <a class="code" href="classcollision_1_1_collision_object.html">CollisionObject</a> *,</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;                         std::list&lt;CollisionObjectConstPtr&gt;&gt; &amp;parent_map) <span class="keyword">const</span>;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classcollision_1_1_collision_object.html#a525c0826bd7ef13b2fe62868d3e49d30">addParentMap</a>(</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;      std::unordered_map&lt;<span class="keyword">const</span> <a class="code" href="classcollision_1_1_collision_object.html">CollisionObject</a> *,</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;                         std::list&lt;CollisionObjectConstPtr&gt;&gt; &amp;parent_map,</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;      <a class="code" href="namespacecollision.html#a405f2c04407997fea529aad88f04ad30">CollisionObjectConstPtr</a> parent) <span class="keyword">const</span>;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;  <span class="keyword">virtual</span> <a class="code" href="namespacecollision.html#a405f2c04407997fea529aad88f04ad30">CollisionObjectConstPtr</a></div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;  <a class="code" href="classcollision_1_1_collision_object.html#ada59ea467dae56bd3aba491fce9a05a3">timeSlice</a>(<span class="keywordtype">int</span> time_idx, <a class="code" href="namespacecollision.html#a405f2c04407997fea529aad88f04ad30">CollisionObjectConstPtr</a> shared_ptr_this) <span class="keyword">const</span> = 0;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="classcollision_1_1_collision_object.html#a43b2608cfc67b33f4aa4216e11a9990d">   90</a></span>&#160;  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classcollision_1_1_collision_object.html#a43b2608cfc67b33f4aa4216e11a9990d">rayTrace</a>(<span class="keyword">const</span> Eigen::Vector2d &amp;point1,</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;                        <span class="keyword">const</span> Eigen::Vector2d &amp;point2,</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;                        std::vector&lt;LineSegment&gt; &amp;intersect)<span class="keyword"> const </span>{</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;  }</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;};</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="namespacecollision.html#a0d30aa4e5f2cc1cb6282b5c076ae44d2">   97</a></span>&#160;<span class="keyword">typedef</span> std::shared_ptr&lt;Shape&gt; <a class="code" href="namespacecollision.html#a0d30aa4e5f2cc1cb6282b5c076ae44d2">ShapePtr</a>;</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="namespacecollision.html#aeb672fde41a9aa0fcc1c5da8af2e4657">   98</a></span>&#160;<span class="keyword">typedef</span> std::shared_ptr&lt;const Shape&gt; <a class="code" href="namespacecollision.html#aeb672fde41a9aa0fcc1c5da8af2e4657">ShapeConstPtr</a>;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div><div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="namespacecollision.html#a87fe4bb3620f68684bfe040aea008d44">  100</a></span>&#160;<span class="keyword">typedef</span> std::shared_ptr&lt;RectangleAABB&gt; <a class="code" href="namespacecollision.html#a87fe4bb3620f68684bfe040aea008d44">RectangleAABBPtr</a>;</div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="namespacecollision.html#a4b0347dddcd269a552b35598dff6ddd4">  101</a></span>&#160;<span class="keyword">typedef</span> std::shared_ptr&lt;const RectangleAABB&gt; <a class="code" href="namespacecollision.html#a4b0347dddcd269a552b35598dff6ddd4">RectangleAABBConstPtr</a>;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="namespacecollision.html#a40c475f923039dd23d344e7ffc9bb75a">  103</a></span>&#160;<span class="keyword">typedef</span> std::shared_ptr&lt;RectangleOBB&gt; <a class="code" href="namespacecollision.html#a40c475f923039dd23d344e7ffc9bb75a">RectangleOBBPtr</a>;</div><div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="namespacecollision.html#a1b9f7f7168669daac5b0cd11930e4cb8">  104</a></span>&#160;<span class="keyword">typedef</span> std::shared_ptr&lt;const RectangleOBB&gt; <a class="code" href="namespacecollision.html#a1b9f7f7168669daac5b0cd11930e4cb8">RectangleOBBConstPtr</a>;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;} <span class="comment">// namespace collision</span></div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="namespacecollision_html_a40c475f923039dd23d344e7ffc9bb75a"><div class="ttname"><a href="namespacecollision.html#a40c475f923039dd23d344e7ffc9bb75a">collision::RectangleOBBPtr</a></div><div class="ttdeci">std::shared_ptr&lt; RectangleOBB &gt; RectangleOBBPtr</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00103">collision_object.h:103</a></div></div>
<div class="ttc" id="classcollision_1_1_i_collision_container_html"><div class="ttname"><a href="classcollision_1_1_i_collision_container.html">collision::ICollisionContainer</a></div><div class="ttdef"><b>Definition:</b> <a href="i__collision__container_8h_source.html#l00014">i_collision_container.h:14</a></div></div>
<div class="ttc" id="namespacecollision_html_aeb672fde41a9aa0fcc1c5da8af2e4657"><div class="ttname"><a href="namespacecollision.html#aeb672fde41a9aa0fcc1c5da8af2e4657">collision::ShapeConstPtr</a></div><div class="ttdeci">std::shared_ptr&lt; const Shape &gt; ShapeConstPtr</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00098">collision_object.h:98</a></div></div>
<div class="ttc" id="classcollision_1_1_collision_object_html_a96352a5369914c677a8f826b68028205"><div class="ttname"><a href="classcollision_1_1_collision_object.html#a96352a5369914c677a8f826b68028205">collision::CollisionObject::~CollisionObject</a></div><div class="ttdeci">virtual ~CollisionObject()</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00049">collision_object.h:49</a></div></div>
<div class="ttc" id="classcollision_1_1_collision_object_html_a0d72d251df66cd7a7f42ec11eee1531f"><div class="ttname"><a href="classcollision_1_1_collision_object.html#a0d72d251df66cd7a7f42ec11eee1531f">collision::CollisionObject::getCollisionObjectClass</a></div><div class="ttdeci">virtual CollisionObjectClass getCollisionObjectClass() const</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00063">collision_object.h:63</a></div></div>
<div class="ttc" id="classcollision_1_1_collision_object_html_a43b2608cfc67b33f4aa4216e11a9990d"><div class="ttname"><a href="classcollision_1_1_collision_object.html#a43b2608cfc67b33f4aa4216e11a9990d">collision::CollisionObject::rayTrace</a></div><div class="ttdeci">virtual bool rayTrace(const Eigen::Vector2d &amp;point1, const Eigen::Vector2d &amp;point2, std::vector&lt; LineSegment &gt; &amp;intersect) const</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00090">collision_object.h:90</a></div></div>
<div class="ttc" id="namespacecollision_html_a450ba6ce42e02aa75e1a94fcbddae149"><div class="ttname"><a href="namespacecollision.html#a450ba6ce42e02aa75e1a94fcbddae149">collision::CollisionObjectType</a></div><div class="ttdeci">CollisionObjectType</div><div class="ttdef"><b>Definition:</b> <a href="collision__object__types_8h_source.html#l00016">collision_object_types.h:16</a></div></div>
<div class="ttc" id="namespacecollision_html_a4b0347dddcd269a552b35598dff6ddd4"><div class="ttname"><a href="namespacecollision.html#a4b0347dddcd269a552b35598dff6ddd4">collision::RectangleAABBConstPtr</a></div><div class="ttdeci">std::shared_ptr&lt; const RectangleAABB &gt; RectangleAABBConstPtr</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00101">collision_object.h:101</a></div></div>
<div class="ttc" id="classcollision_1_1_collision_object_html_a525c0826bd7ef13b2fe62868d3e49d30"><div class="ttname"><a href="classcollision_1_1_collision_object.html#a525c0826bd7ef13b2fe62868d3e49d30">collision::CollisionObject::addParentMap</a></div><div class="ttdeci">virtual void addParentMap(std::unordered_map&lt; const CollisionObject *, std::list&lt; CollisionObjectConstPtr &gt;&gt; &amp;parent_map) const</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8cc_source.html#l00031">collision_object.cc:31</a></div></div>
<div class="ttc" id="collision__object__types_8h_html"><div class="ttname"><a href="collision__object__types_8h.html">collision_object_types.h</a></div></div>
<div class="ttc" id="classcollision_1_1_collision_object_html_ada59ea467dae56bd3aba491fce9a05a3"><div class="ttname"><a href="classcollision_1_1_collision_object.html#ada59ea467dae56bd3aba491fce9a05a3">collision::CollisionObject::timeSlice</a></div><div class="ttdeci">virtual CollisionObjectConstPtr timeSlice(int time_idx, CollisionObjectConstPtr shared_ptr_this) const =0</div></div>
<div class="ttc" id="line__segment_8h_html"><div class="ttname"><a href="line__segment_8h.html">line_segment.h</a></div></div>
<div class="ttc" id="namespacecollision_html_a1b9f7f7168669daac5b0cd11930e4cb8"><div class="ttname"><a href="namespacecollision.html#a1b9f7f7168669daac5b0cd11930e4cb8">collision::RectangleOBBConstPtr</a></div><div class="ttdeci">std::shared_ptr&lt; const RectangleOBB &gt; RectangleOBBConstPtr</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00104">collision_object.h:104</a></div></div>
<div class="ttc" id="classcollision_1_1_collision_object_html_a98bb20ca531cf5018fff83603e93b597"><div class="ttname"><a href="classcollision_1_1_collision_object.html#a98bb20ca531cf5018fff83603e93b597">collision::CollisionObject::collide</a></div><div class="ttdeci">virtual bool collide(const CollisionObject &amp;c, const collision::CollisionRequest &amp;req=CollisionRequest()) const =0</div></div>
<div class="ttc" id="namespacecollision_html_a405f2c04407997fea529aad88f04ad30"><div class="ttname"><a href="namespacecollision.html#a405f2c04407997fea529aad88f04ad30">collision::CollisionObjectConstPtr</a></div><div class="ttdeci">std::shared_ptr&lt; const CollisionObject &gt; CollisionObjectConstPtr</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00041">collision_object.h:41</a></div></div>
<div class="ttc" id="namespacecollision_html"><div class="ttname"><a href="namespacecollision.html">collision</a></div><div class="ttdef"><b>Definition:</b> <a href="collision__checker_8h_source.html#l00020">collision_checker.h:20</a></div></div>
<div class="ttc" id="namespacecollision_html_a87fe4bb3620f68684bfe040aea008d44"><div class="ttname"><a href="namespacecollision.html#a87fe4bb3620f68684bfe040aea008d44">collision::RectangleAABBPtr</a></div><div class="ttdeci">std::shared_ptr&lt; RectangleAABB &gt; RectangleAABBPtr</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00100">collision_object.h:100</a></div></div>
<div class="ttc" id="collision__requests_8h_html"><div class="ttname"><a href="collision__requests_8h.html">collision_requests.h</a></div></div>
<div class="ttc" id="namespacecollision_html_a6e97ae92656250cd1667b6a73100843fa95fe8126fb4ba3fa5d8e6514ad649e8f"><div class="ttname"><a href="namespacecollision.html#a6e97ae92656250cd1667b6a73100843fa95fe8126fb4ba3fa5d8e6514ad649e8f">collision::OBJ_CLASS_UNKNOWN</a></div><div class="ttdef"><b>Definition:</b> <a href="collision__object__types_8h_source.html#l00008">collision_object_types.h:8</a></div></div>
<div class="ttc" id="classcollision_1_1serialize_1_1_i_collision_object_export_html"><div class="ttname"><a href="classcollision_1_1serialize_1_1_i_collision_object_export.html">collision::serialize::ICollisionObjectExport</a></div><div class="ttdef"><b>Definition:</b> <a href="i__collision__object__export_8h_source.html#l00008">i_collision_object_export.h:8</a></div></div>
<div class="ttc" id="namespacecollision_1_1serialize_html_afa68d93c7ceeaba3b3a6a32bf9917aba"><div class="ttname"><a href="namespacecollision_1_1serialize.html#afa68d93c7ceeaba3b3a6a32bf9917aba">collision::serialize::deserialize</a></div><div class="ttdeci">int deserialize(test::BroadphaseFailureCCObj &amp;bf_object, std::istream &amp;input_stream, const char *format=SERIALIZER_DEFAULT_FORMAT)</div></div>
<div class="ttc" id="classcollision_1_1_collision_request_html"><div class="ttname"><a href="classcollision_1_1_collision_request.html">collision::CollisionRequest</a></div><div class="ttdoc">Universal structure specifying collision request properties.</div><div class="ttdef"><b>Definition:</b> <a href="collision__requests_8h_source.html#l00026">collision_requests.h:26</a></div></div>
<div class="ttc" id="classcollision_1_1_collision_object_html_a2bc867e40184d64561ceac3f2276f976"><div class="ttname"><a href="classcollision_1_1_collision_object.html#a2bc867e40184d64561ceac3f2276f976">collision::CollisionObject::getCollisionObjectType</a></div><div class="ttdeci">virtual CollisionObjectType getCollisionObjectType() const</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00060">collision_object.h:60</a></div></div>
<div class="ttc" id="classcollision_1_1_collision_object_html_a08e7481df513e04cc02ae6806ce56020"><div class="ttname"><a href="classcollision_1_1_collision_object.html#a08e7481df513e04cc02ae6806ce56020">collision::CollisionObject::print</a></div><div class="ttdeci">virtual void print(std::ostringstream &amp;stream) const</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00071">collision_object.h:71</a></div></div>
<div class="ttc" id="namespacecollision_html_a6e97ae92656250cd1667b6a73100843f"><div class="ttname"><a href="namespacecollision.html#a6e97ae92656250cd1667b6a73100843f">collision::CollisionObjectClass</a></div><div class="ttdeci">CollisionObjectClass</div><div class="ttdef"><b>Definition:</b> <a href="collision__object__types_8h_source.html#l00007">collision_object_types.h:7</a></div></div>
<div class="ttc" id="application__settings_8h_html"><div class="ttname"><a href="application__settings_8h.html">application_settings.h</a></div></div>
<div class="ttc" id="namespacecollision_html_a07856b6b89f00ae72d825cbac1eb9e14"><div class="ttname"><a href="namespacecollision.html#a07856b6b89f00ae72d825cbac1eb9e14">collision::CollisionObjectPtr</a></div><div class="ttdeci">std::shared_ptr&lt; CollisionObject &gt; CollisionObjectPtr</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00038">collision_object.h:38</a></div></div>
<div class="ttc" id="namespacecollision_1_1serialize_html_aea63e6d672588912102de4dbfc13ba19"><div class="ttname"><a href="namespacecollision_1_1serialize.html#aea63e6d672588912102de4dbfc13ba19">collision::serialize::serialize</a></div><div class="ttdeci">int serialize(const test::BroadphaseFailureCCObj &amp;bf_object, std::ostream &amp;output_stream, const char *format=SERIALIZER_DEFAULT_FORMAT)</div></div>
<div class="ttc" id="classcollision_1_1_collision_object_html_a9bc84c4dd5f378403d31393326a0644e"><div class="ttname"><a href="classcollision_1_1_collision_object.html#a9bc84c4dd5f378403d31393326a0644e">collision::CollisionObject::toString</a></div><div class="ttdeci">virtual void toString(std::ostringstream &amp;stream) const</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00073">collision_object.h:73</a></div></div>
<div class="ttc" id="classcollision_1_1_collision_object_html_a47f5911d90f655e29ce682f037ad5ce7"><div class="ttname"><a href="classcollision_1_1_collision_object.html#a47f5911d90f655e29ce682f037ad5ce7">collision::CollisionObject::getAABB</a></div><div class="ttdeci">virtual std::shared_ptr&lt; const collision::RectangleAABB &gt; getAABB() const =0</div></div>
<div class="ttc" id="namespacecollision_html_a0d30aa4e5f2cc1cb6282b5c076ae44d2"><div class="ttname"><a href="namespacecollision.html#a0d30aa4e5f2cc1cb6282b5c076ae44d2">collision::ShapePtr</a></div><div class="ttdeci">std::shared_ptr&lt; Shape &gt; ShapePtr</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00097">collision_object.h:97</a></div></div>
<div class="ttc" id="classcollision_1_1_collision_object_html"><div class="ttname"><a href="classcollision_1_1_collision_object.html">collision::CollisionObject</a></div><div class="ttdoc">Base class for CollisionObjects and some of their groups.</div><div class="ttdef"><b>Definition:</b> <a href="collision__object_8h_source.html#l00047">collision_object.h:47</a></div></div>
<div class="ttc" id="classcollision_1_1_collision_object_html_a71984805dce3828e2d9e52dfa06e7b9e"><div class="ttname"><a href="classcollision_1_1_collision_object.html#a71984805dce3828e2d9e52dfa06e7b9e">collision::CollisionObject::BVCheck</a></div><div class="ttdeci">virtual bool BVCheck(CollisionObjectConstPtr obj2) const =0</div></div>
<div class="ttc" id="namespacecollision_html_a450ba6ce42e02aa75e1a94fcbddae149a2c13e01c3185cd199ad6fd3c45e1db1f"><div class="ttname"><a href="namespacecollision.html#a450ba6ce42e02aa75e1a94fcbddae149a2c13e01c3185cd199ad6fd3c45e1db1f">collision::OBJ_TYPE_UNKNOWN</a></div><div class="ttdef"><b>Definition:</b> <a href="collision__object__types_8h_source.html#l00017">collision_object_types.h:17</a></div></div>
<div class="ttc" id="i__collision__object__export_8h_html"><div class="ttname"><a href="i__collision__object__export_8h.html">i_collision_object_export.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
